import { App } from 'vue'
import Input from './input'
import Form from './form'
import FormItem from './form'
import Tabs from './tab'
import tabPanel from './tabPanel'
import Tree from './tree'
import TreeNode from './treeNode'
import CheckBox from './checkbox'
const components = [
  Input,
  Form,
  FormItem,
  Tabs,
  tabPanel,
  Tree,
  TreeNode,
  CheckBox
];

export {
  Input,
  Form,
  FormItem,
  Tabs,
  tabPanel,
  Tree,
  TreeNode,
  CheckBox 
}
export default function (app: App): void {
  components.forEach(item => app.component(item.name, item))
}